package com.ckzp.weixin.model;

import com.ckzp.core.json.JsonUtil;

/**
 * Created by 51594 on 2022/8/31.
 */
public class WxUser {

    public int user_id = 0;
    public int is_check = 0;
    public String union_id = "";
    public String wx_openid = "";
    public String app_openid = "";

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getIs_check() {
        return is_check;
    }

    public void setIs_check(int is_check) {
        this.is_check = is_check;
    }

    public String getUnion_id() {
        return union_id;
    }

    public void setUnion_id(String union_id) {
        this.union_id = union_id;
    }

    public String getWx_openid() {
        return wx_openid;
    }

    public void setWx_openid(String wx_openid) {
        this.wx_openid = wx_openid;
    }

    public String getApp_openid() {
        return app_openid;
    }

    public void setApp_openid(String app_openid) {
        this.app_openid = app_openid;
    }

    public boolean isCheck() {
        return getIs_check() == 1;
    }

    public String toJson() {
        return JsonUtil.toJsonString(this);
    }

}
